import http from '@/utils/request'

/**
* 查询列表
* @returns
*/
export async function getOrderList(params) {
    return await http.get('/api/order/list',params)
  }
/**
 *  新增
 * @param {*} params 
 * @returns 
 */
  export async function AddOrderList(params) {
    return await http.post('/api/order/add',params)
  }

    /**
 * 修改
 * @returns 
 */
export async function updateOrder(params) {
  return await http.put('/api/order/update',params)
}

/**
 * 删除
 * @returns 
 */
export async function deleteOrder(params) {
  return await http.delete('/api/order/delete',params)
}